
//
//
//	NDLog
//
//
//

#define NDLOG(nProperty, pLogString, ...) \
	(dynamic_cast<NDLog*>(getArk()->queryModule("NDLog", this)))->logMessage(nProperty, pLogString, __VA_ARGS__)

namespace Nadine{
	class NDLog :public NDBaseObject
	{
	private:
	protected:
		bool m_bReadyLog;

	public:
		NDLog() :NDBaseObject(3),m_bReadyLog(false) {}
		virtual ~NDLog()							{}

		virtual bool newLogFile(const char* pFileName =NULL)				{return false;}
		virtual void endLogFile()											{}

		virtual bool logMessage(int nProperty, wchar_t* pLogString, ...)	{return false;}


	};
}